﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Database.Models
{
    [Table("CoQuanCapVanBanThamDuyet")]
    public class CoQuanCapVanBanThamDuyet:BaseModel
    {
        public CoQuanCapVanBanThamDuyet()
        {
            ThamDuyetPCCCs = new HashSet<ThamDuyetPCCC>();
        }

        public int Id { get; set; }

        [Required]
        [MaxLength(255)]
        public string Ten { get; set; }

        public ICollection<ThamDuyetPCCC> ThamDuyetPCCCs { get; set; }
    }
}
